package regexInput;

public class TransitionNode {
	private String identifier;
	private int stateType;
	private int nextState;
	
	public TransitionNode(String identifier,int stateType,int nextState){
		this.identifier = identifier;
		this.stateType = stateType;
		this.nextState = nextState;
	}
	public TransitionNode(){
		this.identifier = "";
		this.stateType = 0;
		this.nextState = 0;
	}
	
	public void setIdentifier(String name){
		this.identifier = name;
	}
	public void setStateType(int type){
		this.stateType = type;
	}
	public void setNextState(int nextState){
		this.nextState = nextState;
	}
	public String getIndentifier(){
		return identifier;
	}
	public int getStateType(){
		return stateType;
	}
	public int getNextState(){
		return nextState;
	}
}
